package property.pojo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Infrastructure {
    private Integer iId;

    private String iName;

    private String iType;

    private BigDecimal iPrice;

    private Date iInstallDate;

    private String iLocation;

    private Integer iOverhaulTime;

    private Byte iStatus;

    private String iNotes;

    private Integer iStaffId;

    private Integer iFinanceId;

    public Integer getiId() {
        return iId;
    }

    public void setiId(Integer iId) {
        this.iId = iId;
    }

    public String getiName() {
        return iName;
    }

    public void setiName(String iName) {
        this.iName = iName == null ? null : iName.trim();
    }

    public String getiType() {
        return iType;
    }

    public void setiType(String iType) {
        this.iType = iType == null ? null : iType.trim();
    }

    public BigDecimal getiPrice() {
        return iPrice;
    }

    public void setiPrice(BigDecimal iPrice) {
        this.iPrice = iPrice;
    }

    public Date getiInstallDate() {
        return iInstallDate;
    }

    public void setiInstallDate(Date iInstallDate) {
        this.iInstallDate = iInstallDate;
    }

    public String getiLocation() {
        return iLocation;
    }

    public void setiLocation(String iLocation) {
        this.iLocation = iLocation == null ? null : iLocation.trim();
    }

    public Integer getiOverhaulTime() {
        return iOverhaulTime;
    }

    public void setiOverhaulTime(Integer iOverhaulTime) {
        this.iOverhaulTime = iOverhaulTime;
    }

    public Byte getiStatus() {
        return iStatus;
    }

    public void setiStatus(Byte iStatus) {
        this.iStatus = iStatus;
    }

    public String getiNotes() {
        return iNotes;
    }

    public void setiNotes(String iNotes) {
        this.iNotes = iNotes == null ? null : iNotes.trim();
    }

    public Integer getiStaffId() {
        return iStaffId;
    }

    public void setiStaffId(Integer iStaffId) {
        this.iStaffId = iStaffId;
    }

    public Integer getiFinanceId() {
        return iFinanceId;
    }

    public void setiFinanceId(Integer iFinanceId) {
        this.iFinanceId = iFinanceId;
    }
}